package com.yq.ylmall.activity.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yq.ylmall.dto.activity.ActivityInfoDto;
import com.yq.ylmall.model.activity.ActivityInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yq.ylmall.vo.activity.ActivityInfoVo;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 * 活动表 Mapper 接口
 * </p>
 *
 * @author cherry
 * @since 2024-06-07
 */
@Mapper
public interface ActivityInfoMapper extends BaseMapper<ActivityInfo> {
    /**
     * 分页查询
     * @param page 分页对象
     * @param activityInfoDto 条件对象
     * @return 分页对象
     */
    IPage<ActivityInfoVo> queryActivityPage(IPage<ActivityInfoVo> page, ActivityInfoDto activityInfoDto);

}
